home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CyberMycha 2001 August
/
CMycha200108.iso
/
Zaczarowane
/
main.swf
/
scripts
/
DefineButton2_667
/
BUTTONCONDACTION on(press).as
next >
Wrap
Text File
|
2001-06-06
|
612b
|
20 lines
on(press){
my = _root.number * 50;
if(_root.stan == "pakowanie")
{
_root.waga7 = 0.03;
if(!_root.mc_scroll.mc_rzeczy.mc_r7.zapakowany == true)
{
startDrag(_root.mc_scroll.mc_rzeczy.mc_r7,0);
x_pos = getProperty(_root.mc_scroll.mc_rzeczy.mc_r7, _X);
y_pos = getProperty(_root.mc_scroll.mc_rzeczy.mc_r7, _Y);
}
}
if(_root.stan == "las")
{
startDrag(_root.mc_scroll.mc_rzeczy.mc_r7,1);
x_pos = getProperty(_root.mc_scroll.mc_rzeczy.mc_r7, _X);
y_pos = getProperty(_root.mc_scroll.mc_rzeczy.mc_r7, _Y);
}
}